package com.example.itcacp.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.itcacp.entity.Collect;
import com.github.pagehelper.PageInfo;

public interface CollectService extends IService<Collect> {

    /**
     * 收藏
     * */
    void addCollect(Collect collect);

    PageInfo<Collect> selectUserCollectPage(Integer pageNum, Integer pageSize, Long userId);
}
